package com.jintoufs.dao.trade.impl;

import com.jintoufs.dao.MyBatisSupport;
import com.jintoufs.dao.trade.WithdrawDAO;
import com.jintoufs.domain.trade.Withdraw;
import org.springframework.stereotype.Repository;

/**
 *
 */
@Repository
public class withdrawDAOImpl extends MyBatisSupport<WithdrawDAO, Withdraw> implements WithdrawDAO {

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return getMapper().deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Withdraw record) {
        return getMapper().insert(record);
    }

    @Override
    public int insertSelective(Withdraw record) {
        return getMapper().insertSelective(record);
    }

    @Override
    public Withdraw selectByPrimaryKey(Integer id) {
        return getMapper().selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Withdraw record) {
        return getMapper().updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Withdraw record) {
        return getMapper().updateByPrimaryKey(record);
    }
}
